

class ValDataBaseConstant {
  ///数据库名称
  static const String dbName = 'qmp_one_common.db';

  ///数据库版本号
  static const int version = 1;

  /// 默认索引名称
  static const String indexKey = 'index_key';
}


/// 查看条件
class VaDataBaseQuery {
  /// QUERY KEY
  final String key;
  /// QUERY VALUE
  final dynamic value;
  /// AND/OR
  final bool isAnd;

  final ValDataBaseQueryEnum type;

  VaDataBaseQuery(this.key, this.value, {this.isAnd = true, this.type = ValDataBaseQueryEnum.text});
}


enum ValDataBaseQueryEnum {
  text,
  int,
  none,
  data,
}